<template>
  <div>
    <div class="card df">
      <img :src="item.img" class="img" alt="" />
      <div class="cont df fdc">
        <div>{{ item.name }}</div>
        <div>{{ item.data }}</div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    item: Object,
  },
};
</script>

<style lang="scss" scoped>
.img {
  width: 80px;
  height: 80px;
}
.card {
  background: white;
  width: 200px;
  margin: 0 10px;
}
.cont {
  padding: 20px;
}
</style>